<template>
  <div>
<children @setName="handler"></children>
  </div>
</template>

<script setup>
import children from './children.vue'
const handler = (val) => {
  console.log('test:',val)
}
</script>

<style lang="scss" scoped>

</style>